home *** CD-ROM | disk | FTP | other *** search
/ Mission 3 / Mission 3.zip / Mission 3.iso / spiele / gemamigo / src / viewwin.h < prev   
C/C++ Source or Header  |  1998-10-29  |  804b  |  36 lines

  1. #ifndef viewwin_h
  2. #define viewwin_h
  3.  
  4. #include <gemfw.h>
  5. #include <poppattn.h>
  6. #include <popcolor.h>
  7.  
  8. class GameWindow;
  9. class GEMactivity;
  10. class GEMrsc;
  11.  
  12. class ViewWindow : public GEMformwindow {
  13. public:
  14.     ViewWindow(GEMactivity& act, GEMrsc& rsc, GameWindow* user);
  15.  
  16.     int LineColour() const { return line_colour.Choice(); }
  17.     int BoardColour() const { return board_colour.Choice(); }
  18.     int HighlightColour() const { return highlight_colour.Choice(); }
  19.     int BoardPattern() const { return board_pattern.Choice(); }
  20.     int StoneSize() const;
  21.  
  22. protected:
  23.     virtual GEMfeedback DoItem(int item, const GEMevent& e);
  24.  
  25. private:
  26.     GameWindow* viewuser;
  27.  
  28.     PopupList popup;
  29.     PopupColourChoice line_colour;
  30.     PopupColourChoice board_colour;
  31.     PopupColourChoice highlight_colour;
  32.     PopupPatternChoice board_pattern;
  33. };
  34.  
  35. #endif
  36.